package com.wl.exception;

/**
 * @author wolfleong
 * @date 2018-04-17 上午12:22
 **/
public class BusinessException extends RuntimeException {
    private String desc;

    private String pageRouter;

    public BusinessException(String desc, String pageRouter) {
        super(desc);
        this.desc = desc;
        this.pageRouter = pageRouter;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPageRouter() {
        return pageRouter;
    }

    public void setPageRouter(String pageRouter) {
        this.pageRouter = pageRouter;
    }
}
